<?php
class Form_Translate extends Zend_Form
{
    public function __construct($options=array())
    {
		parent::__construct($options);
		
		$section = new Zend_Form_Element_Select('section');
        $section ->setLabel('Section')
		 			 ->addMultiOptions(array(
		 			    '' => 'Select Section',            
						'home' => 'Home Page Content',
						'topnav' => 'Top Navigation',
						'mainnav' => 'Main Navigation',
						'quickbook' => 'Quick Booking Form'));
		$section->setOptions(array('class'=>'input-2'));				
		$this->addElement($section);
		
		$english_text = $this->addElement('textarea','english_text', array('label' => 'English Text', 'rows' => '5' ));
		
		$russian_text = $this->addElement('textarea','russian_text', array('label' => 'Russian Text', 'rows' => '5' ));
		
		if(!empty($options))
		{
    		if($options['action'] == "edit")
    		{ 
        	   	$this->addElement('hidden', 'newsletter_id', array(	            
        	            'filters'  => array('int'),
        	            'class'	   => 'hidden',
        	            'value'    => $options['newsletter_id'],	            
        	    ));
    		}
		}
		//$this->addElement('submit', $btn_label);
    }
}
